import Vue from 'vue'
import App from './App.vue'
import router from './router/index.js' // 导入路由对象
import './mobile/flexible.js' // 移动端适配
import './styles/reset.css' // 默认样式

// import Vant from 'vant';
// import 'vant/lib/index.css';
// Vue.use(Vant);

import { Tabbar, TabbarItem, NavBar, Col, Row, Image as VanImage, Cell, CellGroup, Icon, Search, List, Progress } from 'vant'

Vue.use(Progress)
Vue.use(List)
Vue.use(Search)
Vue.use(Icon)
Vue.use(Cell)
Vue.use(CellGroup)
Vue.use(VanImage)
Vue.use(Col)
Vue.use(Row)
Vue.use(NavBar)
Vue.use(Tabbar)
Vue.use(TabbarItem)

Vue.config.productionTip = false

new Vue({
  router: router,
  render: h => h(App)
}).$mount('#app')
